runtime.mcache.scanAlloc (field)
12 uses
runtime (current package)
arena.go#L516: c.scanAlloc += size - (typ.Size_ - typ.PtrBytes)
arena.go#L518: c.scanAlloc += typ.PtrBytes
malloc.go#L1387: c.scanAlloc += 8
malloc.go#L1389: c.scanAlloc += heapSetTypeNoHeader(uintptr(x), size, typ, span)
malloc.go#L1484: c.scanAlloc += heapSetTypeSmallHeader(uintptr(x), size-gc.MallocHeaderSize, typ, header, span)
malloc.go#L1626: getMCache(mp).scanAlloc += heapSetTypeLarge(uintptr(x), size, typ, span)
mcache.go#L27: scanAlloc uintptr // bytes of scannable heap allocated
mcache.go#L214: gcController.update(int64(s.npages*pageSize)-int64(usedBytes), int64(c.scanAlloc))
mcache.go#L215: c.scanAlloc = 0
mcache.go#L271: scanAlloc := int64(c.scanAlloc)
mcache.go#L272: c.scanAlloc = 0
mgc.go#L1702: c.scanAlloc = 0